home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3p / pthread_sigmask.z / pthread_sigmask
Encoding:
Text File  |  1998-10-20  |  3.3 KB  |  67 lines

  1.  
  2.  
  3.  
  4. pppptttthhhhrrrreeeeaaaadddd____ssssiiiiggggmmmmaaaasssskkkk((((3333PPPP))))                                        pppptttthhhhrrrreeeeaaaadddd____ssssiiiiggggmmmmaaaasssskkkk((((3333PPPP))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      pthread_sigmask - examine and change blocked signals
  10.  
  11. CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssiiiiggggnnnnaaaallll....hhhh>>>>
  13.  
  14.      iiiinnnntttt pppptttthhhhrrrreeeeaaaadddd____ssssiiiiggggmmmmaaaasssskkkk((((iiiinnnntttt ooooppppeeeerrrraaaattttiiiioooonnnn,,,, ccccoooonnnnsssstttt ssssiiiiggggsssseeeetttt____tttt ****sssseeeetttt,,,, ssssiiiiggggsssseeeetttt____tttt ****oooolllldddd____sssseeeetttt))));;;;
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      The _p_t_h_r_e_a_d__s_i_g_m_a_s_k() function manipulates the set of signals which are
  18.      blocked from delivery to the calling thread.
  19.  
  20.      A non-NNNNUUUULLLLLLLL _s_e_t specifies the set of signals to use in modifying the
  21.      currently active set.  The incoming signals may be added to, deleted from
  22.      or completely replace the active set, as specified by the _o_p_e_r_a_t_i_o_n
  23.      parameter which may have the following values:
  24.  
  25.      SSSSIIIIGGGG____BBBBLLLLOOOOCCCCKKKK    Add specified signals to those in current mask.
  26.  
  27.      SSSSIIIIGGGG____UUUUNNNNBBBBLLLLOOOOCCCCKKKK  Remove the specified signals from the current mask.
  28.  
  29.      SSSSIIIIGGGG____SSSSEEEETTTTMMMMAAAASSSSKKKK  Replace the current mask with _s_e_t.
  30.  
  31.      If _o_l_d__s_e_t is not NNNNUUUULLLLLLLL, the current set of blocked signals (before
  32.      modification) is returned in the space to which it points.  In this way,
  33.      with a NNNNUUUULLLLLLLL _s_e_t the user can determine the current signal mask.
  34.  
  35.      Routines described in _s_i_g_s_e_t_o_p_s() are used to create and examine the _s_e_t
  36.      and _o_l_d__s_e_t signal masks.
  37.  
  38.      It is not possible to block SSSSIIIIGGGGKKKKIIIILLLLLLLL or SSSSIIIIGGGGSSSSTTTTOOOOPPPP.  This restriction is
  39.      silently imposed by the system.
  40.  
  41. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  42.      On success, _p_t_h_r_e_a_d__s_i_g_m_a_s_k() returns zero; otherwise, an error number is
  43.      returned:
  44.  
  45.      [[[[EEEEIIIINNNNVVVVAAAALLLL]]]]       The value specified by _o_p_e_r_a_t_i_o_n is not equal to one of
  46.                     the defined values.
  47.  
  48. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  49.      sigaction(2), sigprocmask(2), sigsetops(3), pthread_kill(3P), signal(5).
  50.  
  51. NNNNOOOOTTTTEEEESSSS
  52.      In IRIX, _s_i_g_p_r_o_c_m_a_s_k() it is equivalent to pthread_sigmask().
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.